home *** CD-ROM | disk | FTP | other *** search
- $emit(off)
- $repeat(2,#
- $$define(c,$$ife(@0,1,@1,@2))
- $$define(h,$$ife(@0,2,@1,@2))
- $$define(e,$$h(extern ))
- $$emit($$c(on,to arc.h))#
- /* ARC - Archive utility - $$c(ARCDATA,ARC Header)
-
- $define(tag,$$segment(@1,$$index(@1,=)+1))#
- $define(version,Version $tag(
- TED_VERSION DB =2.09), created on $tag(
- TED_DATE DB =11/09/85) at $tag(
- TED_TIME DB =22:22:05))#
- $undefine(tag)#
- $version
-
- (C) COPYRIGHT 1985 by System Enhancement Associates; ALL RIGHTS RESERVED
-
- By: Thom Henderson
-
- Description: $$h(
- This is the header file for the ARC archive utility. It defines
- global parameters and the references to the external data.
- ,
- This file defines the external data storage used by the ARC
- archive utility.
- )
-
- Language:
- Computer Innovations Optimizing C86
- */
- $c(#include <stdio.h>)
-
- struct heads /* archive entry header format */
- { char name[$$fnlen]; /* file name */
- long size; /* size of file, in bytes */
- unsigned int date; /* creation date */
- unsigned int time; /* creation time */
- int crc; /* cyclic redundancy check */
- long length; /* true file length */
- } ;
-
- $$e()int keepbak$$c( = 0); /* true if saving the old archive */
- $$e()int warn$$c( = 1); /* true to print warnings */
- $$e()int note$$c( = 1); /* true to print comments */
- $$e()int bose$$c( = 0); /* true to be verbose */
- $$e()int nocomp$$c( = 0); /* true to suppress compression */
- $$e()int kludge$$c( = 0); /* kludge flag */
- $$e()char *arctemp$$c( = NULL); /* arc temp file prefix */
-
- $$e()char hdrver; /* header version */
-
- $$e()FILE *arc; /* the old archive */
- $$e()FILE *new; /* the new archive */
- $$e()char arcname[$$strlen]; /* storage for archive name */
- $$e()char bakname[$$strlen]; /* storage for backup copy name */
- $$e()char newname[$$strlen]; /* storage for new archive name */
- $$e()unsigned int arcdate$$c( = 0); /* archive date stamp */
- $$e()unsigned int arctime$$c( = 0); /* archive time stamp */
- )#
-